package com.lbm.business.service;

import java.util.List;
import com.lbm.baseclass.exception.ServiceException;
import com.lbm.baseclass.service.IBaseService;
import com.lbm.model.ModuleOperate;

public interface IModuleOperateService extends IBaseService {
	/**
	 * 通过HQL构造查询条件来查询符合条件的UserOperate信息
	 * 
	 * @param hql
	 * @return List
	 * @throws DataAccessException
	 */
	public List getModuleOperateByHQL(String hql)throws ServiceException;
	/**
	 * 根据主键查询UserOperate信息明细
	 * 
	 * @param id
	 * @throws DataAccessException
	 */
	public ModuleOperate getModuleOperateById(String id) throws ServiceException;
	/**
	 * 查询所有的UserOperate信息
	 * 
	 * @param hql
	 * @return List
	 * @throws DataAccessException
	 */
	public List getAllModuleOperate() throws ServiceException;
	/**
	 * 新增、修改UserOperate信息
	 * 
	 * @param UserOperate
	 * @throws DataAccessException
	 */
	 public  void saveOrUpdateModuleOperate(ModuleOperate moduleOperate) throws ServiceException ;
    /**
	 * 删除UserOperate信息
	 * 
	 * @param id
	 * @throws DataAccessException
	 */
	  public  void deleteModuleOperate(String id) throws ServiceException;
}
